Crate oxc_allocator
source ·Structs§
- Memory address of an AST node in arena.
- A Box without Drop. This is used for over coming self-referential structs. It is a memory leak if the boxed value has a
Drop
implementation. - A UTF-8 encoded, growable string.
- Bumpalo Vec
Traits§
- A trait to explicitly clone an object into an arena allocator.
- This trait works similarly to the standard library
From
trait, It comes with a similar implementation containing blanket implementation forIntoIn
, reflective implementation and a bunch of primitive conversions from Rust types to their arena equivalent. - This trait works similarly to the standard library
Into
trait. It is similar toFromIn
is reflective, AFromIn
implementation also implicitly implementsIntoIn
for the opposite type.